package combine;

/**
 * =================================
 * <p>
 * Created by cjj on 2018/10/16.
 * <p>
 * 描述:
 */

public class Customer implements Cloneable {

    private String username;

    private double money;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public double getMoney() {
        return money;
    }

    public void setMoney(double money) {
        this.money = money;
    }

    public Object clone() {
        Customer o = null;
        try {
            o = (Customer) super.clone();
        } catch (CloneNotSupportedException e) {
            e.printStackTrace();
        }
        return o;
    }

    @Override
    public String toString() {
        return "Customer{" +
                "username='" + username + '\'' +
                ", money=" + money +
                '}';
    }
}